using System;
using System.Xml.Serialization;

namespace WHC.Hotel.Entity
{
    [Serializable]
    public class BookInfo : BaseEntity
    {    
        #region Field Members

        private int m_ID = 0; //编号          
        private string m_RoomNo = ""; //预订房间号          
        private string m_BookNo = ""; //预订单号          
        private string m_CustomerName = ""; //客户名称          
        private string m_CustomerTel = ""; //客户电话          
        private string m_CustomerCompany = ""; //公司名称          
        private string m_Source = ""; //客户来源          
        private DateTime m_PreArrivalTime = System.DateTime.Now; //预抵时间          
        private DateTime m_PreOffTime = System.DateTime.Now; //预离时间          
        private DateTime m_RetentionTime = System.DateTime.Now; //保留时间          
        private string m_Note = ""; //备注 
        private int m_BookStatus = 0;//预定状态 
        private bool m_IsFixRoomNo = true;//是否确定房间号
        private string m_BookPeople = string.Empty;

        private int m_IsTeam = 0;
       
        /// <summary>
        /// 是否团队预定 0：不是 1 是团队
        /// </summary>
        public int IsTeam
        {
            get { return m_IsTeam; }
            set { m_IsTeam = value; }
        }
        private string m_Account = "";

        /// <summary>
        /// 主账户
        /// </summary>
        public string Account
        {
            get { return m_Account; }
            set { m_Account = value; }
        }


        /// <summary>
        /// 预定人
        /// </summary>
        public string BookPeople
        {
            get { return m_BookPeople; }
            set { m_BookPeople = value; }
        }

        /// <summary>
        /// 预定人联系方式
        /// </summary>
        private string m_BookPeoplePhone = string.Empty;

        public string BookPeoplePhone
        {
            get { return m_BookPeoplePhone; }
            set { m_BookPeoplePhone = value; }
        }

        public bool IsFixRoomNo
        {
            get { return m_IsFixRoomNo; }
            set { m_IsFixRoomNo = value; }
        }
        private string m_RoomType = "";//房间类型

        public string RoomType
        {
            get { return m_RoomType; }
            set { m_RoomType = value; }
        }
        private int m_RoomCount = 1;//预定房间数

        public int RoomCount
        {
            get { return m_RoomCount; }
            set { m_RoomCount = value; }
        }


        #endregion

        #region Property Members
        
        /// <summary>
        /// 编号
        /// </summary>
        public virtual int ID
        {
            get
            {
                return this.m_ID;
            }
            set
            {
                this.m_ID = value;
            }
        }
        /// <summary>
        /// 预订房间号
        /// </summary>
        public virtual string RoomNo
        {
            get
            {
                return this.m_RoomNo;
            }
            set
            {
                this.m_RoomNo = value;
            }
        }
        /// <summary>
        /// 预订单号
        /// </summary>
        public virtual string BookNo
        {
            get
            {
                return this.m_BookNo;
            }
            set
            {
                this.m_BookNo = value;
            }
        }

        /// <summary>
        /// 客户名称
        /// </summary>
        public virtual string CustomerName
        {
            get
            {
                return this.m_CustomerName;
            }
            set
            {
                this.m_CustomerName = value;
            }
        }

        /// <summary>
        /// 客户电话
        /// </summary>
        public virtual string CustomerTel
        {
            get
            {
                return this.m_CustomerTel;
            }
            set
            {
                this.m_CustomerTel = value;
            }
        }

        /// <summary>
        /// 公司名称
        /// </summary>
        public virtual string CustomerCompany
        {
            get
            {
                return this.m_CustomerCompany;
            }
            set
            {
                this.m_CustomerCompany = value;
            }
        }

        /// <summary>
        /// 客户来源
        /// </summary>
        public virtual string Source
        {
            get
            {
                return this.m_Source;
            }
            set
            {
                this.m_Source = value;
            }
        }

        /// <summary>
        /// 预抵时间
        /// </summary>
        public virtual DateTime PreArrivalTime
        {
            get
            {
                return this.m_PreArrivalTime;
            }
            set
            {
                this.m_PreArrivalTime = value;
            }
        }

        /// <summary>
        /// 预离时间
        /// </summary>
        public virtual DateTime PreOffTime
        {
            get
            {
                return this.m_PreOffTime;
            }
            set
            {
                this.m_PreOffTime = value;
            }
        }

        /// <summary>
        /// 保留时间
        /// </summary>
        public virtual DateTime RetentionTime
        {
            get
            {
                return this.m_RetentionTime;
            }
            set
            {
                this.m_RetentionTime = value;
            }
        }

        /// <summary>
        /// 备注
        /// </summary>
        public virtual string Note
        {
            get
            {
                return this.m_Note;
            }
            set
            {
                this.m_Note = value;
            }
        }
        
        /// <summary>
        /// 预订状态
        /// </summary>
        public int BookStatus
        {
            get { return m_BookStatus; }
            set { m_BookStatus = value; }
        }
        #endregion

    }
}